{% extends "default.html" %}

{% load i18n %}
{% load jalali_view %}
{% load digg_paginator %}

{% block title %} {% trans "Reports" %}{% endblock %}
{% block page_title %} {% trans "Reports" %}{% endblock %}

{% block page_content %}
<div>
	<table>
		<tr>
			<th>{% trans "Title" %}</th>
			<th>{% trans "Advertizer" %}</th>
			<th></th>
		</tr>
		{% for ad in current_page.object_list %}
		<tr class='{% cycle "Odd" "Even" %}'>
			<td>{{ ad.title }}</td>
			<td>{{ ad.advertizer }}</td>
			<td>
				<a href="/report/ads/likes/{{ ad.id }}/">{% trans "Popularity" %}</a> &bull;
				<a href="/report/ads/views/{{ ad.id }}/">{% trans "View History" %}</a>
			</td>
		</tr>
		{% endfor %}
	</table>
</div>
<br class="clear"/>
<div>
{% digg_paginator %}
</div>
<br class="clear"/>


{% endblock page_content %}
